package com.initialize.pub.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;

/**
 * Created with IntelliJ IDEA.
 * User: jane
 * Date: 2019/12/16
 * Time: 下午4:37
 * To change this template use File | Settings | File Templates.
 * Description:
 */
@Configuration
public class Md5Config {

    public static String KEY; //md5秘钥


    @Value("${md5.signKey}")
    public void setKEY(String KEY) {
        System.err.println("============================sign秘钥 ==>  " + "[" + KEY + "]");
        Md5Config.KEY = KEY;
    }

}